public class TestMain {
    public static void main(String[] args) {
        int[] arr = {2,4,1};
        Solution solution = new Solution();
        //solution.rotate(arr,3);
        solution.maxProfit1(arr);
    }
}
